@charset "utf-8";
/*
 * @file: 全局样式表
 * @author: xxx(xxx@yy.com)
 * @update: 2015-05-05 21:09:12
 */


/* 全局变量配置 */
$base-font-size          : 12px !default; // 字号
$base-font-family        : Tahoma, Arial, "Helvetica Neue", Helvetica, sans-serif !default; // 字体族
$base-line-height        : 1.5 !default; // 行号
$base-color              : #333 !default; // 字体颜色
$base-bg-color           : #fff !default; // 背景颜色
$base-link-color         : #333 #f40 !default; // 链接颜色[default，hover]

@import "base/base"; // 样式基础设置
@import "slice"; // sprites切片占位符

.ws-label {
    width: 370px;
    margin: 0 auto;
}
.ws-label__note {
    background-color: #efefef;
    color: #666;
    border-color: #ccc;
    padding: 5px 10px;
    margin-bottom: 14px;
    border: 1px solid #ddd;
    font-size: 14px;
}

.ws-label__list {
    margin: 3px 3px 5px;
    background: white;
    border: 1px solid #d8d8d8;
    padding: 5px;
    overflow: hidden;
}

.ws-label__item {
    height: 28px;
    line-height: 28px;
    overflow: hidden;
    float: left;
    margin-right: 10px;
    white-space: normal;
    input {
        width: 80px;
        height: 18px;
        font-size: 12px;
        outline: 0;
        float: left;
        margin-top: 3px;
    }
    .close {
        width: 12px;
        height: 10px;
        background: url(../img/delete.gif) 0 0 no-repeat;
        float: left;
        margin-top: 8px;
        cursor: pointer;
        margin-left: 3px;
    }
    &>span {
        float: left;
        cursor: pointer;
        margin-right: 4px;
        margin-top: 11px;
        width: 9px;
        height: 9px;
        &.ext-none {
            background: url(../img/tag_none.gif) 0 0 no-repeat;
        }
        &.ext-all {
            background: url(../img/tag_all.gif) 0 0 no-repeat;
        }
        &.ext-part {
            background: url(../img/tag_part.gif) 0 0 no-repeat;
        }
    }
    label {
        white-space: nowrap;
        background: #F1F4F7;
        padding: 2px 4px;
        margin-right: 3px;
        color: #4E6A81;
        border-radius: 4px;
        font-size: 12px;
    }
}

.ws-label__add {
    background: white;
    border: 1px solid #d8d8d8;
    padding: 5px;
    margin: 15px 3px;
    span {
        display: inline-block;
        position: relative;
        padding: 0 5px 0 25px;
        background: #f0f0f0;
        border: 1px solid #999;
        cursor: pointer;
        line-height: 22px;
        white-space: nowrap;
        margin: 0 0 0 5px;
        font-size: 12px;
        i {
            position: absolute;
            left: 5px;
            top: 4px;
            width: 14px;
            height: 14px;
            background: url(../img/btn_add.gif) 0 0 no-repeat;
        }
    }
}
